getZoneNeighbors

Module: dggal
Class: DGGRS

int getZoneNeighbors(DGGRSZone zone, DGGRSZone * neighbors, int * nbType)

Description

Return the neighboring zones of a DGGRS zone

Parameters

zone  DGGRSZone  The zone for which to return neighbors 
neighbors  DGGRSZone A pre-allocated buffer in which to return neighbors 
nbType  int *  An optional pointer to an integer buffer in which to return a type identifying the relative position of each neighbors 
 
Return Value int  The number of neighbors returned 

See Also


getMaxNeighbors